<?php 
defined('BASEPATH') OR exit('No direct script access allowed');

class Groups extends Auth_Controller{
	
	public function __construct(){
		parent::__construct();
		$this->load->model('groups_mdl');
	}
	
	/**
	 * 用户组首页
	 */
	public function index(){
		$list = $this->groups_mdl->get_all();
		$data = ['list'=>$list];
		$this->_view("admin/group_index",$data);
	}
	
	
}
